<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
      /* call改变函数this的指向，函数调用的时候执行 
        */  
        var li="li";
        var obj={
            name:"wang"
        } 
        var test=function(){
            console.log(this.name)  
        }  
        test.call(obj) 
    </script>
</body>
</html>